package com.t.bricks.bussiness.db.entity.stockin.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 入库表'StockIn'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 */
@ApiModel("入库表StockIn")
public class StockInBase implements Serializable {

	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected String sId;

	/**
	 * 流水号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sSequence", sComment="流水号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="流水号", example="")
	//[end]
	protected String sSequence;

	/**
	 * 入库人编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sOperatorId", sComment="入库人编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="入库人编号", example="")
	//[end]
	protected String sOperatorId;

	/**
	 * 入库人名称(冗余)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sOperator", sComment="入库人名称(冗余)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="入库人名称(冗余)", example="")
	//[end]
	protected String sOperator;

	/**
	 * 记录时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="dIntoDate", sComment="记录时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=4 )
	@ApiModelProperty(value="记录时间", example="")
	//[end]
	protected Date dIntoDate;

	/**
	 * 仓库编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sWarehouseId", sComment="仓库编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=4, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="仓库编号", example="")
	//[end]
	protected String sWarehouseId;

	/**
	 * 仓库名称(冗余)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sWarehouseName", sComment="仓库名称(冗余)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="仓库名称(冗余)", example="")
	//[end]
	protected String sWarehouseName;

	/**
	 * 物品编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sGoodsId", sComment="物品编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="物品编号", example="")
	//[end]
	protected String sGoodsId;

	/**
	 * 物品名称
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sGoodsName", sComment="物品名称", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="物品名称", example="")
	//[end]
	protected String sGoodsName;

	/**
	 * 物品批次
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sBatch", sComment="物品批次", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="物品批次", example="")
	//[end]
	protected String sBatch;

	/**
	 * 生产时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="dMakeDate", sComment="生产时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=10 )
	@ApiModelProperty(value="生产时间", example="")
	//[end]
	protected Date dMakeDate;

	/**
	 * 数量
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="iNumber", sComment="数量", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="数量", example="1")
	//[end]
	protected Integer iNumber;

	/**
	 * 价格(元)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="mPrice", sComment="价格(元)", isDbField=true, sDbFileType="decimal",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=9, isDecimal=true, iIntegralLength=6, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="价格(元)", example="0")
	//[end]
	protected BigDecimal mPrice;

	/**
	 * 利润(元)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="mProfit", sComment="利润(元)", isDbField=true, sDbFileType="decimal",
		sDefaultData="0", isExtra=false, iskey=false, isNull=true,
		iMaxLength=9, isDecimal=true, iIntegralLength=6, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="利润(元)", example="0")
	//[end]
	protected BigDecimal mProfit;

	/**
	 * 追踪码
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sTrackNo", sComment="追踪码", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="追踪码", example="")
	//[end]
	protected String sTrackNo;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=15 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建者
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sCreator", sComment="创建者", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000001", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="创建者", example="00000001")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=17 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000001", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=18 )
	@ApiModelProperty(value="修改人", example="00000001")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=19 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态信息(枚举,1:正常;2:作废)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="iState", sComment="状态信息(枚举,1:正常;2:作废)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=20 )
	@ApiModelProperty(value="状态信息(枚举,1:正常;2:作废)", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=21 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="StockIn", sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=22 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置记录编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 流水号
	 * @return String
	 */
	public String getsSequence() {
		return sSequence;
	}

	/**
	 * 设置流水号
	 * @param sSequence
	 */
	public void setsSequence(String sSequence) {
		this.sSequence = sSequence;
	}

	/**
	 * 取 入库人编号
	 * @return String
	 */
	public String getsOperatorId() {
		return sOperatorId;
	}

	/**
	 * 设置入库人编号
	 * @param sOperatorId
	 */
	public void setsOperatorId(String sOperatorId) {
		this.sOperatorId = sOperatorId;
	}

	/**
	 * 取 入库人名称(冗余)
	 * @return String
	 */
	public String getsOperator() {
		return sOperator;
	}

	/**
	 * 设置入库人名称(冗余)
	 * @param sOperator
	 */
	public void setsOperator(String sOperator) {
		this.sOperator = sOperator;
	}

	/**
	 * 取 记录时间
	 * @return Date
	 */
	public Date getdIntoDate() {
		return dIntoDate;
	}

	/**
	 * 设置记录时间
	 * @param dIntoDate
	 */
	public void setdIntoDate(Date dIntoDate) {
		this.dIntoDate = dIntoDate;
	}

	/**
	 * 取 仓库编号
	 * @return String
	 */
	public String getsWarehouseId() {
		return sWarehouseId;
	}

	/**
	 * 设置仓库编号
	 * @param sWarehouseId
	 */
	public void setsWarehouseId(String sWarehouseId) {
		this.sWarehouseId = sWarehouseId;
	}

	/**
	 * 取 仓库名称(冗余)
	 * @return String
	 */
	public String getsWarehouseName() {
		return sWarehouseName;
	}

	/**
	 * 设置仓库名称(冗余)
	 * @param sWarehouseName
	 */
	public void setsWarehouseName(String sWarehouseName) {
		this.sWarehouseName = sWarehouseName;
	}

	/**
	 * 取 物品编号
	 * @return String
	 */
	public String getsGoodsId() {
		return sGoodsId;
	}

	/**
	 * 设置物品编号
	 * @param sGoodsId
	 */
	public void setsGoodsId(String sGoodsId) {
		this.sGoodsId = sGoodsId;
	}

	/**
	 * 取 物品名称
	 * @return String
	 */
	public String getsGoodsName() {
		return sGoodsName;
	}

	/**
	 * 设置物品名称
	 * @param sGoodsName
	 */
	public void setsGoodsName(String sGoodsName) {
		this.sGoodsName = sGoodsName;
	}

	/**
	 * 取 物品批次
	 * @return String
	 */
	public String getsBatch() {
		return sBatch;
	}

	/**
	 * 设置物品批次
	 * @param sBatch
	 */
	public void setsBatch(String sBatch) {
		this.sBatch = sBatch;
	}

	/**
	 * 取 生产时间
	 * @return Date
	 */
	public Date getdMakeDate() {
		return dMakeDate;
	}

	/**
	 * 设置生产时间
	 * @param dMakeDate
	 */
	public void setdMakeDate(Date dMakeDate) {
		this.dMakeDate = dMakeDate;
	}

	/**
	 * 取 数量
	 * @return Integer
	 */
	public Integer getiNumber() {
		return iNumber;
	}

	/**
	 * 设置数量
	 * @param iNumber
	 */
	public void setiNumber(Integer iNumber) {
		this.iNumber = iNumber;
	}

	/**
	 * 取 价格(元)
	 * @return BigDecimal
	 */
	public BigDecimal getmPrice() {
		return mPrice;
	}

	/**
	 * 设置价格(元)
	 * @param mPrice
	 */
	public void setmPrice(BigDecimal mPrice) {
		this.mPrice = mPrice;
	}

	/**
	 * 取 利润(元)
	 * @return BigDecimal
	 */
	public BigDecimal getmProfit() {
		return mProfit;
	}

	/**
	 * 设置利润(元)
	 * @param mProfit
	 */
	public void setmProfit(BigDecimal mProfit) {
		this.mProfit = mProfit;
	}

	/**
	 * 取 追踪码
	 * @return String
	 */
	public String getsTrackNo() {
		return sTrackNo;
	}

	/**
	 * 设置追踪码
	 * @param sTrackNo
	 */
	public void setsTrackNo(String sTrackNo) {
		this.sTrackNo = sTrackNo;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建者
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建者
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态信息(枚举,1:正常;2:作废)
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态信息(枚举,1:正常;2:作废)
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
